package com.huatai.manage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.huatai.manage.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 厂商管理;
 * </p>
 *
 * @author luoxc
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_firm_manage")
@ApiModel(value="TbFirmManage对象", description="厂商管理;")
public class TbFirmManageEntity extends BaseEntity{

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "厂商id")
    private String firmId;

    @ApiModelProperty(value = "厂商名称")
	@NotBlank(message = "厂商名称不能为空")
    private String firmName;

    @ApiModelProperty(value = "厂商类型")
	@NotBlank(message = "厂商类型不能为空")
    private String firmType;

    @ApiModelProperty(value = "联系人")
	@NotBlank(message = "联系人不能为空")
    private String contactName;

    @ApiModelProperty(value = "联系方式")
	@NotBlank(message = "联系方式不能为空")
    private String contactWay;

    @ApiModelProperty(value = "联系地址")
	@NotBlank(message = "联系地址不能为空")
    private String contactAddr;

    @ApiModelProperty(value = "数据源地址")
    private String sourceAddr;

    @ApiModelProperty(value = "数据主题名称")
    private String firmTopic;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态")
    private String state = "1";


}
